import Vue from "vue";
import App from "./App.vue";
import store from "./store";
import router from "./router";
import { Button, Layout, Icon, Drawer, Radio, Menu } from "ant-design-vue";
import Authorized from "@/components/Authorized.vue";
import auth from "@/directives/auth";

Vue.config.productionTip = false;
Vue.use(Button);
Vue.use(Layout);
Vue.use(Icon);
Vue.use(Drawer);
Vue.use(Radio);
Vue.use(Menu);
Vue.component(Authorized.name, Authorized);
Vue.use(auth);

new Vue({
  store,
  router,
  render: (h) => h(App),
}).$mount("#app");
